﻿Imports BusinessRule.DTO

'Description:菜单定义接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:tianFW 
'create Date:2019年1月8日
'Rewriter:
'Rewrite Date:
Public Interface uLMSMenuDefinitionIBusiness
    ''' <summary>
    ''' 获取定义的菜单信息
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMenuDefinitionInfo() As DataTable

    ''' <summary>
    ''' 保存定义菜单信息
    ''' </summary>
    ''' <param name="dto"></param>
    ''' <param name="DMLType"> 1 添加 2 修改 3 删除</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveMenuDefinition(ByVal dto As MenuDefinitionDTO, ByVal DMLType As Int32) As Boolean

    ''' <summary>
    ''' 保存定义菜单项信息
    ''' </summary>
    ''' <param name="dto">实体类</param>
    ''' <param name="DMLType">1 插入 2 修改 3 删除</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveMenuItem(ByVal dto As MenuitemDTO, ByVal DMLType As Int32) As Boolean

    ''' <summary>
    ''' 根据菜单ID获取菜单项
    ''' </summary>
    ''' <param name="menuDefID">菜单ID</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetWebMenuItemsByMenuDefID(ByVal menuDefID As String) As DataTable
End Interface
